<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of FoMailConfirmation
 *
 * @author mssae-9
 */
class FoMailConfirmationCtrl extends jController {
    /*
     * envoi mail de confirmatioin
     */
    function index(){
        
        jClasses::inc("annonce~mailSrv");
        
        $datas = new stdClass();
        $datas->nom = "";
        $datas->address = "";
        $datas->logo = 'http://www.auto-occasion.fr/images/original/voiture-occasion-logo.png';
        $datas->pub = 'http://www.auto-occasion.fr/images/original/voiture-occasion-logo.png';
        $datas->pubHref = '#';
        
        $tpl = new jTpl();
        $tpl->assign('datas', $datas);
        $datas->content =  $tpl->fetch('annonce~mailConfirmation');
        mailSrv::envoiMailConfirmation($datas);
    }
}

?>
